import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { ModelPageComponent } from './model-page.component';
import { ModelComModule } from '../../../components/model-panel/component.module';
import { GanttChartModule } from '../../../components/gantt-chart/gantt-chart.module';
import { GanttService } from '../../../services/gantt-chart/gantt.service';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    ModelComModule,
    GanttChartModule,
    RouterModule.forChild([
      {
        path: '', component: ModelPageComponent
      },
    ])
  ],
  declarations: [ModelPageComponent],
  providers: [
    GanttService
  ]
})
export class ModelPageModule { }
